import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import List from '@/components/List'
import Buy from '@/components/Buy'
import Login from '@/components/Login'
import Order from '@/components/Order'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/List',
      name: 'List',
      component: List
    },
    {
      path: '/Buy',
      name: 'Buy',
      component: Buy
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/Order',
      name: 'Order',
      component: Order
    }
  ]
})
